function start_indices = generate_start_indices(array_length, num_sequences)
    % 计算最小的序号差距
    min_gap = floor(array_length/num_sequences);

    % 生成随机序列的起始序号
    start_indices = zeros(1, num_sequences);
    for i = 1:num_sequences
        start_indices(i) = randperm(min_gap, 1) + (i-1)*min_gap;
    end
end
